inputName = input("请输入文件名")
index = inputName.rfind(".")
copyName = inputName[:index] + "[复制]" + inputName[index:]
print(copyName)

with open(inputName, "rb") as f:
    content  = f.read()
    with open(copyName, "wb") as copy_f:
        copy_f.write(content)
        print("拷贝完成")